package org.example.projecttwo.entity.dto.content.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
@Schema(description = "批量新闻审核DTO")
public class BatchNewsAuditDTO {

    @NotEmpty(message = "新闻ID列表不能为空")
    @Schema(description = "需要审核的新闻ID列表", example = "[1,2,3]")
    private List<Long> ids;

    @NotNull(message = "审核结果不能为空")
    @Schema(description = "审核结果：1-待审核，2-审核通过，3-未通过", example = "2")
    private Integer auditResult;

    @Schema(description = "拒绝原因，审核未通过（3）时必填", example = "内容不符合规范")
    private String rejectReason;
}